// 引入模块
const KoaRouter = require('koa-router')
// 实例化
const router = new KoaRouter();
const { getToken, verify } = require('../middleware/koa-jwt')

router
  .get('/test', async (ctx) =>{
    ctx.body = {
      msg: '测试路由！'
    }
  })

module.exports.test = router